using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_PTMVEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_PTMVEntity()
         {
             tableName = "PT_PTMV";


			 fieldInfos.Add(new FieldInfo("PT_PTMV","CreatedBy","CreatedBy","string",50,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","CreatedDate","CreatedDate","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","DISCOUNT_AMNT","DISCOUNT_AMNT","double",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","Id","Id","int",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","IsDeleted","IsDeleted","bool",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","ORDER_NO","ORDER_NO","string",50,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","PART_NO","PART_NO","string",50,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","PRICE","PRICE","double",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","QTY","QTY","int",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","STOCK_OUT_DAT","STOCK_OUT_DAT","string",8,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","ToolType","ToolType","string",1,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","TotalMoney","TotalMoney","double",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","UpdatedBy","UpdatedBy","string",50,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_PTMV","UpdatedDate","UpdatedDate","DateTime",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_CreatedBy;
		 protected DateTime m_CreatedDate;
		 protected double m_DISCOUNT_AMNT;
		 protected int m_Id;
		 protected bool m_IsDeleted;
		 protected string m_ORDER_NO;
		 protected string m_PART_NO;
		 protected double m_PRICE;
		 protected int m_QTY;
		 protected string m_STOCK_OUT_DAT;
		 protected string m_ToolType;
		 protected double m_TotalMoney;
		 protected string m_UpdatedBy;
		 protected DateTime m_UpdatedDate;

		 public string CreatedBy

          { 
                get { 
                    return m_CreatedBy;}

                set{m_CreatedBy=value;

                    GetField("CreatedBy").Set();
                    GetField("CreatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime CreatedDate

          { 
                get { 
                    return m_CreatedDate;}

                set{m_CreatedDate=value;

                    GetField("CreatedDate").Set();
                    GetField("CreatedDate").IsNull=(value == null);           
                    }
          }
		 public double DISCOUNT_AMNT

          { 
                get { 
                    return m_DISCOUNT_AMNT;}

                set{m_DISCOUNT_AMNT=value;

                    GetField("DISCOUNT_AMNT").Set();
                    GetField("DISCOUNT_AMNT").IsNull=(value == null);           
                    }
          }
		 public int Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public bool IsDeleted

          { 
                get { 
                    return m_IsDeleted;}

                set{m_IsDeleted=value;

                    GetField("IsDeleted").Set();
                    GetField("IsDeleted").IsNull=(value == null);           
                    }
          }
		 public string ORDER_NO

          { 
                get { 
                    return m_ORDER_NO;}

                set{m_ORDER_NO=value;

                    GetField("ORDER_NO").Set();
                    GetField("ORDER_NO").IsNull=(value == null);           
                    }
          }
		 public string PART_NO

          { 
                get { 
                    return m_PART_NO;}

                set{m_PART_NO=value;

                    GetField("PART_NO").Set();
                    GetField("PART_NO").IsNull=(value == null);           
                    }
          }
		 public double PRICE

          { 
                get { 
                    return m_PRICE;}

                set{m_PRICE=value;

                    GetField("PRICE").Set();
                    GetField("PRICE").IsNull=(value == null);           
                    }
          }
		 public int QTY

          { 
                get { 
                    return m_QTY;}

                set{m_QTY=value;

                    GetField("QTY").Set();
                    GetField("QTY").IsNull=(value == null);           
                    }
          }
		 public string STOCK_OUT_DAT

          { 
                get { 
                    return m_STOCK_OUT_DAT;}

                set{m_STOCK_OUT_DAT=value;

                    GetField("STOCK_OUT_DAT").Set();
                    GetField("STOCK_OUT_DAT").IsNull=(value == null);           
                    }
          }
		 public string ToolType

          { 
                get { 
                    return m_ToolType;}

                set{m_ToolType=value;

                    GetField("ToolType").Set();
                    GetField("ToolType").IsNull=(value == null);           
                    }
          }
		 public double TotalMoney

          { 
                get { 
                    return m_TotalMoney;}

                set{m_TotalMoney=value;

                    GetField("TotalMoney").Set();
                    GetField("TotalMoney").IsNull=(value == null);           
                    }
          }
		 public string UpdatedBy

          { 
                get { 
                    return m_UpdatedBy;}

                set{m_UpdatedBy=value;

                    GetField("UpdatedBy").Set();
                    GetField("UpdatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime UpdatedDate

          { 
                get { 
                    return m_UpdatedDate;}

                set{m_UpdatedDate=value;

                    GetField("UpdatedDate").Set();
                    GetField("UpdatedDate").IsNull=(value == null);           
                    }
          }

}
}
